home *** CD-ROM | disk | FTP | other *** search
-
- ;(...)
-
- ;
- RunBack >NIL: SYS:RetinaSystem/RetinaEmu CX_POPUP=NO
-
- ;Important: the total execution time of the following commands MUST be at
- ;least 10 seconds (before the first program tries to access the Retina board)
- ;- if not handled this way, frequent system lockups were encountered.
- ;(Perhaps the board takes that long to initialise properly?!)
- ;This is why ALL previous and ALL the following commands should redirect
- ;their output (>NIL:)
- ;The first program to actually access the board could then be a password
- ;program (see below) or something alike.
- ;The effect is: when booting, the first thing a user will see is the login
- ;screen - even if (s)he manages to interrupt the startup-sequence, there will
- ;be no shell open, not even a single blank screen :)
- ;
-
- ;(...)
-
- ;
- ;First access to Retina graphics board since starting RetinaEmu WB emulation
- ;about ten seconds ago (any previous output redirected to NIL:)
- ;ALock (available on AmiNet) opens a Login Screen and asks for a password.
- ;After successful login a 'motto of the day' is shown, which is deleted
- ;afterwards, so it won't be displayed next time you reboot.
- ;The 'motto of the day' file is restored at system shutdown.
-
- C:ALock >NIL:
- If EXISTS S:motd
- Delete >NIL: S:motd
- EndIf
- ;
-
- ;(...)
-
- If EXISTS SYS:S/LogFile
- If NOT EXISTS ENVARC:Custom/ColdBoot
- Date >>SYS:S/LogFile
- Date >ENVARC:Custom/ColdBoot
- EndIf
- Else
- Date >SYS:S/LogFile
- Date >ENVARC:Custom/ColdBoot
- EndIf
-
- ;(...)
-
- IF EXISTS S:User-Startup
- Execute S:User-Startup
- EndIF
-
- ;
- If NOT EXISTS ENVARC:Custom/CoolBoot
- RTools:RetinaDisplay Pics:System/Title.iff SCREENOUTPUT NOWINDOW KEEPSCREEN
- ;picture will only be displayed at 'ColdBoot'
- EndIf
- ;
-
- Resident Execute REMOVE
- Resident Assign REMOVE
-
- ;
- ;;C:LoadWB ;workbench loaded in user-startup
-
- RunBack >NIL: C:Execute S:Batch/TerminateIntro.
- EndCLI >NIL:
- ;
-